package com.wn.order.feign;

import com.wn.common.entity.MyRsp;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @BelongsProject: shared_parking
 * @BelongsPackage: com.wn.order.feign
 * @Author: 段彪
 * @CreateTime: 2020-06-18 14:09
 * @Description: 调用user模块
 */
@FeignClient(value = "user")
public interface UserFeign {

    //获取用户信息
    @PostMapping(value = "getUserInfoBytoken")
    MyRsp getUserInfo(String token);


}
